#ifndef FLEETATTACKFLEET_HH_
# define FLEETATTACKFLEET_HH_
# include "GameMessage.hh"

/**
 * <game>
 *  <fleet_attack_planet>
 *      <fleet>flotta azonosító</fleet>
 *      <target_player>célpont flotta tulajdonosa</target_player>
 *      <target_fleet>célpont flotta</target_fleet>
 *  </fleet_attack_planet>
 * </game>
 */
class Network::FleetAttackFleet: public GameMessage {
    public: static spFleetAttackFleet construct(QDomElement const& message);

    public: u8 const fleetId;
    public: QString const targetPlayerId;
    public: u8 const targetFleetId;

    public: FleetAttackFleet(
      u8 fleetId, QString const& targetPlayerId, u8 targetFleetId
    );
    public: virtual void process_on_server(XmlServerThread& thread);
    public: virtual QDomDocument to_xml() const;
};

#endif // ndef FLEETATTACKFLEET_HH_
